#!/bin/bash

script_dir=$(cd $(dirname $0);pwd)
echo "The current path is $script_dir"

# configure symbolic link to local file
ln -s $script_dir/.vimrc ~/.vimrc
ln -s $script_dir/.vim ~/.vim
ln -s $script_dir/.tmux.conf ~/.tmux.conf
ln -s $script_dir/.bash_aliases ~/.bash_aliases

# config git
git config --global core.editor "vim"

echo "setup complete!"
